package com.mrd.gtimp.base.entity;

import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * <p>
 * application name: gtimp
 * <p>
 * copyright: Copyright@2012 明睿达科技有限公司
 *
 * @author qiul
 */
/**
 *
 * @author qiul
 */

/**
 * @author Administrator
 *
 */
@Entity
@Table(name = "T_SYS_MSG")
public class SysMsg implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(generator = "paymentableGenerator")
    @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
    @Column(name = "ID")
    private String id;

    @Column(name = "PROCESS_ID")
    private String processId;

    @Column(name = "CONTENTS")
    private String contents;

    @Column(name = "SUP_STATE")
    private String supState;

    @Column(name = "SUP_ID")
    private String supId;

    @Column(name = "CONSUMER_STATE")
    private String consumerState;

    @Column(name = "CONSUMER_ID")
    private String consumerId;

    @Column(name = "BIZ_ID")
    private String bizId;

    @Column(name = "CTIME")
    @Temporal(TemporalType.TIMESTAMP)
    private Date ctime;

	/*
        @Column(name = "SENDTIME")
		@Temporal(TemporalType.TIMESTAMP)
		private Date	          sendtime;
	*/

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public String getSupState() {
        return supState;
    }

    public void setSupState(String supState) {
        this.supState = supState;
    }

    public String getSupId() {
        return supId;
    }

    public void setSupId(String supId) {
        this.supId = supId;
    }

    public String getConsumerState() {
        return consumerState;
    }

    public void setConsumerState(String consumerState) {
        this.consumerState = consumerState;
    }

    public String getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(String consumerId) {
        this.consumerId = consumerId;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public String getBizId() {
        return bizId;
    }

    public void setBizId(String bizId) {
        this.bizId = bizId;
    }

}
